#Makefile
# Summary : makefile
# Author  : Zhicheng Miao <zhicheng.miao@gmail.com>
#
# Usage:
# make
# make RUN='gdb'
# make RUN='valgrind --leak-check=full'

run : scene_pattern_p1
	$(RUN) ./$<

scene_pattern_p1 : Scene.o A.o scene_pattern_p1.o
	g++ $(LD_FLAGS) $^ -o $@

clean :
	rm -f *.o scene_pattern_p1

.PHONY : run clean
